package com.chalk.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
import com.alipay.api.internal.util.codec.Base64;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chalk.common.util.Result;
import com.chalk.config.base.BaseController;
import com.chalk.model.*;
import com.chalk.service.*;
import com.chalk.util.DateUtil;
import com.chalk.util.MyHttpUtils;
import com.chalk.util.QRCodeUtil;

import com.chalk.vo.MemberAndCarVo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.*;

@Api(value = "app首页业务接口", tags = "app首页业务接口")
@RestController
@RequestMapping("/v1/appMain")
public class AppMainController extends BaseController {
    @Value("${upload.dir}")
    String dir;

    @Value("${ip.addr}")
    String addr;

    @Autowired
    AlipayService alipayService;

    @Autowired
    MemberService memberService;


    @Autowired
    MyHttpUtils myHttpUtils;

}
